package com.qf.mapper;




import com.qf.pojo.Student;
import com.qf.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {

    List<Teacher> selectAllTeacher(Integer teacherId, Integer status, Integer start, Integer limit);

    List<Teacher> selectTeacher(Integer teacherId);

    Teacher selectTeacherCount();

    int updateTeacher(Teacher teacher);

    int insertTeacher(Teacher teacher);

    int updateTeacherStatus(@Param("studentIds") List<Integer> teacherIds, @Param("teacherStatus") Integer teacherStatus);


    int deleteTeacher(@Param("studentIds") List<Integer> teacherIds);
}
